﻿using System;
using System.Windows.Forms;
using System.Diagnostics;
using System.Threading;

namespace ClientPolicy
{
    static class Program
    {
        /// <summary>
        /// The main entry point for the application.
        /// </summary>
        [STAThread]
        static void Main()
        {
            Process[] proc = Process.GetProcessesByName("ClientPolicy");
            if (proc.Length > 1)
                return;

            Application.EnableVisualStyles();
            Application.SetCompatibleTextRenderingDefault(false);           
           Application.Run(new ClientPolicy());
           // Application.Run(new ClientUpdate());
        }
      
    }
}
